﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="DemoStoreProcedure_Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
        Enter name
        <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
&nbsp;<asp:Button ID="Button1" runat="server" onclick="Button1_Click" Text="Button" />
        <br />
        <asp:GridView ID="GridView1" runat="server" CellPadding="4" ForeColor="#333333" 
            GridLines="None" AutoGenerateSelectButton="True" 
            onselectedindexchanging="GridView1_SelectedIndexChanging">
            <RowStyle BackColor="#FFFBD6" ForeColor="#333333" />
            <FooterStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
            <PagerStyle BackColor="#FFCC66" ForeColor="#333333" HorizontalAlign="Center" />
            <SelectedRowStyle BackColor="#FFCC66" Font-Bold="True" ForeColor="Navy" />
            <HeaderStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
            <AlternatingRowStyle BackColor="White" />
        </asp:GridView>
    
    </div>
    <p>
        Insert data</p>
    <p>
        Name
        <asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>
        <asp:Label ID="lblid" runat="server"></asp:Label>
    </p>
    <p>
        Lang
        <asp:DropDownList ID="DropDownList1" runat="server">
            <asp:ListItem Value="vi">Vietnam</asp:ListItem>
            <asp:ListItem Value="en">English</asp:ListItem>
        </asp:DropDownList>
    </p>
    <p>
        Active
        <asp:CheckBox ID="CheckBox1" runat="server" />
    </p>
    <asp:Button ID="Button2" runat="server" onclick="Button2_Click" Text="Button" />
    &nbsp;
    <asp:Button ID="Button3" runat="server" onclick="Button3_Click" Text="update" />
&nbsp;
    <asp:Button ID="Button4" runat="server" onclick="Button4_Click" Text="delete" />
    <br />
    <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>
    </form>
</body>
</html>
